package crontab

import "github.com/gogf/gf/util/gconv"

func (r *Crontab) PkVal() int {
	return gconv.Int(r.Id)
}

func (r *Crontab) TableName() string {
	return Table
}

func (m *arModel) Columns() string {
	sqlColumns := "t.id, t.uuid, t.name, t.spec, t.script_id as scriptId ,t.hosts, t.enabled, t.timeout, t.remark"
	return sqlColumns
}